package com.erclab.xpresso.formelements
{
	import mx.controls.Label;
	import mx.core.UIComponent;


	public class Label extends mx.controls.Label implements FormElement
	{
		public function getValue():String
		{
			return "";
		}
		
		public function getName():String
		{
			return String(this.name);
		}
		
		public function createLabel(attachingElement:UIComponent, label:String):void{
			// Not necessary for Label	
		}
		
		public function setValue(value:String):void {
			
		}
		
		public function getAttribute(attribute:String):String{
			return this[attribute];
		}
		
		public function setAttribute(attribute:String, attributeValue:String):void{
			this[attribute] = attributeValue;
		}
		
		public function prepareForInsert():void{
			// Nothing to do
		}		
	}
}